#include "BSLPFilter.h"

BSLPFilter::BSLPFilter()
{
	m_name = "Low-Pass Filter Cutoff";
}

BSLPFilter::~BSLPFilter()
{

}

void BSLPFilter::Update()
{
	if (m_mouseDidIntersect && m_mouseButtonWasReleased)
	{
		m_sound->SetLPFilter(m_amount);

		m_mouseButtonWasReleased = false;
		m_mouseDidIntersect = false;
	}
}